package com.ruoyi.system.api.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/*发明人*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Inventor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /*发明人主键id*/
    private Integer inventorId;

    /*发明人姓名*/
    private String inventorName;

    /*发明人证件编号*/
    private String inventorNo;

    /*专利id*/
    private Integer patentId;

    /**逻辑删除*/
    private String isDelete;

    /**乐观锁*/
    private Integer version;

    /**创建人*/
    private String createBy;

    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**更新人*/
    private String updateBy;

    /**更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}